home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / emulator / bsvc-1.000 / bsvc-1 / bsvc-1.0.4 / src / Assemblers / 68kasm / Makefile < prev    next >
Makefile  |  1995-07-26  |  2KB  |  66 lines

  1. #
  2. #  FILE:    Makefile
  3. #  PURPOSE:    Create the simulator assembler 
  4. #  INVOKATION:    make
  5. #
  6. #  Copyright 1990-1991 North Carolina State University. All Rights Reserved.
  7. #
  8. #  Send suggestions or comments to:
  9. #    Paul Franzon  paulf@csl.ncsu.edu
  10. #   or  Tom Miller  tkm@csl.ncsu.edu
  11.  
  12. #
  13. #  History:  10/28/91 (Tan Phan)        -- Added -DTAN_DEBUG flag
  14. #                                          to fix segmentation bug.
  15. #                                          (due to mis-definition)
  16. #                                       -- Debugged for Ultrix
  17. #
  18. #            07/08/94 (Bradford Mott)   -- Modified object.c and listing.c
  19. #                                          so they would compile under Linux
  20. #                                       -- Modified to be part of the BSVC
  21. #                                          package
  22.  
  23. #  This is a list of all the files and their dependency order as listed in
  24. #  the file asm.bld.  I tried to put them together but can not get it to
  25. #  work.  I do not know if some changes need to be made in the code for
  26. #  this to work on UNIX or not.   
  27.  
  28. PROGRAM=68kasm
  29. CC=gcc -g
  30.  
  31. all: $(PROGRAM)
  32.  
  33. $(PROGRAM): asm.h movem.o object.o globals.o directive.o build.o \
  34.         insttable.o error.o symbol.o eval.o opparse.o codegen.o \
  35.         listing.o instlookup.o assemble.o main.o include.o
  36.     $(CC) movem.o object.o globals.o directive.o build.o \
  37.         insttable.o error.o symbol.o eval.o opparse.o \
  38.         codegen.o listing.o instlookup.o assemble.o main.o include.o \
  39.         -o $(PROGRAM)
  40.  
  41. clean:: 
  42.     rm -f *.o $(PROGRAM)
  43.  
  44. install: $(PROGRAM)
  45.     $(INSTALL) $(PROGRAM) $(INSTALL_DIR)
  46.     $(STRIP) $(INSTALL_DIR)/$(PROGRAM)
  47.  
  48.     
  49. main.o        : main.c asm.h
  50. include.o    : main.c 
  51. assemble.o    : assemble.c asm.h
  52. build.o        : build.c asm.h
  53. codegen.o    : codegen.c asm.h
  54. directive.o    : directive.c asm.h
  55. error.o        : error.c asm.h
  56. eval.o        : eval.c asm.h
  57. globals.o    : globals.c asm.h
  58. instlookup.o    : instlookup.c asm.h
  59. insttable.o    : insttable.c asm.h
  60. listing.o    : listing.c asm.h
  61. movem.o        : movem.c asm.h
  62. object.o    : object.c asm.h
  63. opparse.o    : opparse.c asm.h
  64. symbol.o    : symbol.c asm.h
  65.  
  66.